var token = request.getHeader('Authorization');
if (token.contains(":")) {
    token = token.split(":")[1]
}
out.println('Bearer ' + token);
request.setHeader('Authorization', 'Bearer ' + token);
